package nettytest;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class testfurture {
	public static void main(String[] args) throws Exception {
		ExecutorService executor = Executors.newCachedThreadPool();
		Runnable task1 = new Runnable() {
			public void run() {
				// do something
				System.out.println("i am task1.....");
			}
		};
	//	executor.submit(task1);
		executor.execute(task1);
		executor.shutdown();
	}
	
}
